Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: nested api/worker #298

Merged
merged 4 commits into from
Mar 19, 2024
Merged

refactor: nested api/worker #298

merged 4 commits into from
Mar 19, 2024

Conversation

plyr4
Copy link
Contributor

@plyr4 plyr4 commented Mar 18, 2024

waiting on go-vela/server#997

@wass3rw3rk wass3rw3rk changed the title refactor: ested api/worker refactor: nested api/worker Mar 18, 2024
@plyr4 plyr4 marked this pull request as ready for review March 19, 2024 18:03
@plyr4 plyr4 requested a review from a team as a code owner March 19, 2024 18:03
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.19%. Comparing base (4fa059a) to head (836d3ce).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #298   +/-   ##
=======================================
  Coverage   89.19%   89.19%           
=======================================
  Files          20       20           
  Lines         796      796           
=======================================
  Hits          710      710           
  Misses         52       52           
  Partials       34       34           
Files Coverage Δ
vela/client.go 90.90% <ø> (ø)
vela/worker.go 93.93% <100.00%> (ø)

@@ -501,6 +501,7 @@ func (c *Client) Do(req *http.Request, respType interface{}) (*Response, error)
// ensure response body is not empty so the user may inspect
// it further for debugging and troubleshooting
resp.Body = io.NopCloser(bytes.NewBuffer(body))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because golangci-lint said so^

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@plyr4 plyr4 merged commit 4a7c245 into main Mar 19, 2024
10 of 11 checks passed
@plyr4 plyr4 deleted the refactor/nested-api/worker branch March 19, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants